﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Daystate.ConfigurationManager;

namespace Djikstria
{
    /// <summary>
    /// Utilities
    /// </summary>
    public static class Utilities
    {
        public static Configuration Configuration
        {
            get
            {
                return ConfigManager<Configuration>.Instance.Configuration;
            }
        }
    }



    /// <summary>
    /// Configuration fields
    /// </summary>
    public class Configuration : ConfigurationClass
    {
        public override void Initialize()
        {
            //Add(SupportedTypesEnum.String, ConfigKeys.GraphDescriptionFilePath, @"V:\Visual Studio 2012\Projects\DjikstriasAlgorithm\DjikstriasAlgorithm\sheet86.xlsx");
            //Add(SupportedTypesEnum.String, ConfigKeys.NoLinkMark, "X");
            //Add(SupportedTypesEnum.String, ConfigKeys.StartVertexSymbol, "A");
            //Add(SupportedTypesEnum.String, ConfigKeys.EndVertexSymbol, "E");
        }

        public static class ConfigKeys
        {
            public const string GraphDescriptionFilePath = "GraphDescriptionFilePath";
            public const string NoLinkMark = "NoLinkMark";
            public const string StartVertexSymbol = "StartVertexSymbol";
            public const string EndVertexSymbol = "EndVertexSymbol";
        }
    }
}
